import request from '@/utils/request'
import { faceApiUrl } from '../config'

/*
  安全监督日志

*/

/**
 * 安全监督日志列表
 * @param data
 */
 export function getPageSafeSupervisionLog(data){
    return request({
      url: `${faceApiUrl}/safeSupervisionLog/getPageSafeSupervisionLog`,
      method: 'post',
      data
    })
  } 

  /**
 * 安全监督日志-本月汇总
 * @param data
 */
 export function getNowMonthData(data){
    return request({
      url: `${faceApiUrl}/safeSupervisionLog/getNowMonthData?id=${data.id}&month=${data.month}`,
      method: 'post',
    })
  } 

  /**
 * 安全监督日志新增
 * @param data
 */
 export function addinsertSelective(data){
    return request({
      url: `${faceApiUrl}/safeSupervisionLog/insertSelective`,
      method: 'post',
      data
    })
  } 

    /**
 * 安全监督日志查看
 * @param data
 */
 export function getSafeSupervisionLog(data){
    return request({
      url: `${faceApiUrl}/safeSupervisionLog/getSafeSupervisionLog`,
      method: 'post',
      data
    })
  } 

  